package cn.tedu.tmall.admin.mall.dao.persist.repository;

import cn.tedu.tmall.admin.mall.pojo.entity.Category;
import cn.tedu.tmall.admin.mall.pojo.vo.CategoryStandardVO;
import org.apache.ibatis.annotations.Param;

public interface ICategoryRepository {
    int insert(Category category);

    int updateById(Category category);

    long countByName(String name);

    CategoryStandardVO getStandardById(Long id);

}
